package com.intellagric.mapper;

import com.intellagric.pojo.TraceRecordMachining;
import com.intellagric.pojo.TraceRecordMachiningExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceRecordMachiningMapper {
    long countByExample(TraceRecordMachiningExample example);

    int deleteByExample(TraceRecordMachiningExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceRecordMachining record);

    int insertSelective(TraceRecordMachining record);

    List<TraceRecordMachining> selectByExample(TraceRecordMachiningExample example);

    TraceRecordMachining selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceRecordMachining record, @Param("example") TraceRecordMachiningExample example);

    int updateByExample(@Param("record") TraceRecordMachining record, @Param("example") TraceRecordMachiningExample example);

    int updateByPrimaryKeySelective(TraceRecordMachining record);

    int updateByPrimaryKey(TraceRecordMachining record);
}